package com.forum.model.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Post {
    private Long id;
    private Long userId;
    private String title;
    private Long categoryId;
    private String content;
    private String summary;
    private String coverImage;
    private Integer views;
    private Integer likes;
    private Integer comments;
    private Integer status;
    private Boolean isTop;
    private Boolean isHot;
    private Boolean isEssence;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;

    // 作者信息（从user表关联查询）
    private String authorName;
    private String authorAvatar;
    
    // 分类名称（从category表关联查询）
    private String categoryName;
    
    // AI审核相关字段
    private String aiAuditResult;  // AI审核结果: PASS, REVIEW, REJECT
    private Double aiConfidence;   // AI置信度
    private String aiSuggestion;   // AI审核建议
} 